﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MyBlog.DAL;

namespace MyBlog.BLL
{
   public  class BLL_ASMX_UserLogon
    {
       private static log4net.ILog myLogger = log4net.LogManager.GetLogger(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType); 

       DAL_ASMX_UserLogon dal = new DAL_ASMX_UserLogon();

       public bool UserLogon(string usr, string pwd)
       {
           try
           {
               return dal.UserLogon(usr, pwd);
           }
           catch(Exception ex)
           {
               myLogger.Error(ex.Message, ex);
               throw;
           }
       }
    }
}
